package com.baomidou.springwind.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.springwind.entity.Goods;
import com.baomidou.springwind.utils.ParamMap;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Goods 表数据库控制层接口
 */
public interface GoodsDao extends BaseMapper<Goods> {

    BigDecimal selectStockVolume(ParamMap<String, Object> pm);

    List<Map<String, Object>> selectGoodsInitialStock(Long batchId);

    List<Map<String, Object>> selectGoodsTimeStock(Long batchId);
    List<Map<String, Object>> selectGoodsDayAmount(Long batchId);
    List<Map<String, Object>> selectGoodsMoney(Long batchId);

}